import request from '@/utils/request'

// 获取所有系统用户列表
export const queryAllPricingStandard = (typeName,page, pageSize) =>
    request.get('/pricingStandard/search', {
        params: {
            typeName,page,pageSize,
        }
    }).then((result)=>result.data);


// 添加
export const addPricingStandard = (pricingStandard) =>
    request.post('/pricingStandard/add', pricingStandard).then((result)=>result.data);
// 获取所有系统用户列表
export const updatePricingStandard = (pricingStandard) =>
    request.put('/pricingStandard/update', pricingStandard).then((result)=>result.data);

// 删除
export const deletePricingStandard = (ids) =>
    request.put('/pricingStandard/delete', ids).then((result)=>result.data);